package com.ciaojian.core.bytedance;


public class ByteDanceConfig {
    /**
     * 网页应用
     */
    public static final String CLIENT_SECRET = "4e35239a1e8aa4efe9d0fe1f4fe5d308";
    public static final String CLIENT_KEY = "awppbbr0zeglbbfl";

    /**
     * 账号授权 post
     * 用户授权第三方接口调用的凭证
     * 获取 access_token
     * Content-Type:application/x-www-form-urlencoded
     */
    public static final String ACCESS_TOKEN_URL = "https://open.douyin.com/oauth/access_token/";
    public static final String ACCESS_TOKEN_GRANT_TYPE = "client_credential";


    /**
     * 账号授权  post
     * 用于不需要用户授权就可以调用的接口。
     * 生成 client_token
     * Content-Type:multipart/form-data
     */
    public static final String CLIENT_TOKEN_URL = "https://open.douyin.com/oauth/client_token/";
    public static final String CLIENT_TOKEN_GRANT_TYPE = "client_credential";



    /**
     * 发起店铺匹配 POI 同步任务 post
     * Content-Type:application/json
     */
    public static final String POI_SUPPLIER_URL = "https://open.douyin.com/poi/v2/supplier/match/?access_token=";

    /**
     * 店铺匹配任务结果查询 get
     * Content-Type:application/json
     */
    public static final String POI_QUERY_TASK_URL = "https://open.douyin.com/poi/v2/supplier/query/task/?supplier_task_ids=";

    /**
     * 查询店铺 GET
     * Content-Type:application/json
     */
    public static final String POI_QUERY_STORE = "https://open.douyin.com/poi/supplier/query/?access_token=";

    /**
     * 查询店铺 GET
     * Content-Type:application/json
     */
    public static final String POI_QUERYALL_STORE = "https://open.douyin.com/poi/supplier/query_all/?access_token=";

    /**
     * 商铺同步 post
     * Content-Type:application/json
     */
    public static final String POI_SYNC_STORE = "https://open.douyin.com/poi/supplier/sync/?access_token=";

    /**
     * 应用保存商品
     */
    public static final String PRODUCT_SAVE_URL = "https://open.douyin.com/life/goods/product/save/?access_token=";

    /**
     * 免审修改商品
     */
    public static final String PRODUCT_FREE_AUDIT = "https://open.douyin.com/life/goods/product/free_audit/?access_token=";


    /**
     * 查询商品模板 GET
     */
    public static final String GOODS_TEMPLATE_URL = "https://open.douyin.com/life/goods/template/get/?access_token=";


    /**
     * 查询线上商品列表 GET
     */
    public static final String GOODS_LIST_URL = "https://open.douyin.com/life/goods/product/online/list/?access_token=";

    /**
     * 查询草稿商品列表 GET
     */
    public static final String GOODS_DRAFT_GET = "https://open.douyin.com/life/goods/product/draft/get/?access_token=";


    /**
     * 查询线上商品 GET
     */
    public static final String GOODS_GET_URL = "https://open.douyin.com/life/goods/product/online/get/?access_token=";

    /**
     * 查询草稿商品列表 GET
     */
    public static final String GOODS_DRAFT_URL = "https://open.douyin.com/life/goods/product/draft/list/?access_token=";


    /**
     * （老版本）SKU同步 post
     */
    public static final String GOODS_SYNC_URL = "https://open.douyin.com/poi/sku/sync/?access_token=";

    /**
     * 商品上下架
     */
    public static final String GOODS_PRODUCT_OPERATE = "https://open.douyin.com/life/goods/product/operate/?access_token=";

    /**
     * 门店信息查询
     */
    public static final String STORE_LIST_URL = "https://open.douyin.com/goodlife/v1/shop/poi/query/";



}
